package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.vo.DUserOilCardVo;
import cn.huiyunche.base.service.vo.PageVo;
import cn.huiyunche.base.service.vo.Result;
import cn.huiyunche.tools.basic.exceptions.BusinessException;

import java.util.Map;

public interface DUserOilCardService {

    /**
     * 司机-油卡列表
     *
     * @param pageVo
     * @param cardVo
     * @return
     * @throws BusinessException
     */
    Result<Map<String, Object>> list(PageVo pageVo, DUserOilCardVo cardVo) throws Exception;

    /**
     * 司机-油卡状态修改
     *
     * @param id
     * @param status
     * @return
     * @throws BusinessException
     */
    Result<Object> modifyStatus(Long id, String status) throws Exception;

}
